<%inherit file="main.html"/>
<%block name="Title">文章管理</%block>
<%block name="Link">
	<link rel="stylesheet" href="/admin/themes/default/article.css" type="text/css" media="screen" />
	<script type="text/javascript" src="/admin/themes/default/editor.js"></script><!-- TinyMCE editor -->
</%block>


<%block name="Main">
	<div id="nav">
		<div class="buttons">
				<a href="/admin/article" class="button big">列表</a>
		</div>
	</div>
	
	% if DATA.form:
	<form method="post" action="/admin/article/new/submit">
		<table style="width:96%;" summary="文章管理表单">
				<caption>表单列表</caption>
			<thead>
				<tr class="odd">
					<th scope="col" abbr="Article">表单</th>
				</tr>
			</thead>
				<tr>
					<td>
						${DATA.form.article_title.description}
						${DATA.form.article_title.render()}
						<strong class="wrong">*</strong>
						${DATA.form.article_title.renderNote()}
					</td>
				</tr>
				<tr>
					<td>
						${DATA.form.article_shortlink.description}
						${DATA.form.article_shortlink.render()}
						${DATA.form.article_shortlink.renderNote()}
					</td>
				</tr>
				<tr class="odd">
					<td>
						${DATA.form.article_content.description}
						${DATA.form.article_content.render()}
						<strong class="wrong">*</strong>
						${DATA.form.article_content.renderNote()}
					</td>
				</tr>
				<tr>
					<td>
						${DATA.form.article_display.description}
						${DATA.form.article_display.render()}
						<strong class="wrong">*</strong>
						${DATA.form.article_display.renderNote()}
					</td>
				</tr>
				<tr class="odd">
					<td>
						${DATA.form.article_commentEnable.description}
						${DATA.form.article_commentEnable.render()}
						<strong class="wrong">*</strong>
						${DATA.form.article_commentEnable.renderNote()}
					</td>
				</tr>
				<tr>
					<td>
						${DATA.form.article_category.description}
						${DATA.form.article_category.render()}
						<strong class="wrong">*</strong>
						${DATA.form.article_category.renderNote()}
					</td>
				</tr>
				<tr class="odd">
					<td>
						${DATA.form.article_tags.description}
						${DATA.form.article_tags.render()}
						${DATA.form.article_tags.renderNote()}
					</td>
				</tr>
				<tr>
					<td>${DATA.form.article_submit.render()}</td>
				</tr>
		</table>
	</form>
	% endif
</%block>




